home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-15
/
testf10.zip
/
TESTF.DOC
< prev
next >
Wrap
Text File
|
1990-07-05
|
808b
|
32 lines
TESTF 1.0 by Bob Eyer July 5, 1990
Syntax:
TESTF driveletter or drive
TESTF accepts either a or A: or a: as its argument, and any drive may
be tested. The following are all valid TESTF calls:
TESTF A
testf b
testf c:
testf d
testf b:
The returns are as follows:
Errorlevel Meaning
1 Unformatted disk
2 Drive door not closed
3 Drive timed out
4 Device fault
5 Disk media error
9 Unknown error
Execution time depends on the particular drive and the disk parameter
table for each. Generally, 5.25" floppy drives will require several
seconds to return a result where an error condition exists, whereas a
run for a 3.5" drive will take only a fraction of a second.